#ifndef _DATA_FORMAT_
#define _DATA_FORMAT_

#pragma once
#include "Wlheadfile.h"
#include "ListManage.h"
//class CListManage;


class CDataFormat
{
public:
	CDataFormat(void);
	~CDataFormat(void);

	virtual void  RecvPackData(char* pPackData,int nLength)=0;

	virtual bool GetQueueNode(LP_QUEUE_NODE &lpQueueNode) = 0;

	virtual bool GetAlermData() = 0;

	virtual bool GetConnApPack(u_char* &pPackData,int &nLength,LPAP_NODE lpApNode) = 0;

	virtual	bool GetHeartApPack(u_char* &pPackData,int &nLength,LPAP_NODE lpApNode){return false;}

    void GetListManagePtr(CListManage* pListManage)
	{
		m_pListManage = pListManage;
	}




protected:
	CListManage* m_pListManage;

};
#endif